package edu.csl.study.springboot.core.dcode.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.csl.study.springboot.core.dcode.entity.Prpduser;
import edu.csl.study.springboot.core.dcode.mapper.PrpduserMapper;
import edu.csl.study.springboot.core.dcode.service.IPrpduserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户代码表 服务实现类
 * </p>
 *
 * @author 自动生成代码
 * @since 2021-09-25
 */
@Service
public class PrpduserServiceImpl extends ServiceImpl<PrpduserMapper, Prpduser> implements IPrpduserService {

    @Override
    public List<Prpduser> getAll() {
        return this.baseMapper.selectList(null);
    }

    @Override
    public IPage<Prpduser> selectUserPage(Page<Prpduser> page) {
        return this.baseMapper.selectPage(page,null);
    }
}
